<template>
  <div>
    <h1>详情页面,{{ count.num }}</h1>
    <van-button type="warning">{{ count.doubleNum }}</van-button>
    <van-button type="danger" @click="count.decrement">-</van-button>
  </div>
</template>

<script setup>

import { useCount } from '../store/count';

const count = useCount()


</script>

<style lang="scss" scoped>

</style>